<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if( !function_exists('array_fill_keys')){
	function array_fill_keys(&$keys, $value){
		$result = array();
		foreach($keys as $k){
			$result[$k] = $value;
		}
		return $result;
	}
}

if( !function_exists('json_encode') ){
	require_once(dirname(__FILE__) . '/../../../jsonwrapper/jsonwrapper.php');
}
?>